<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/tags.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="UTF-8">
    <meta name="Keywords" content="">
    <meta name="description" content="">
    <%@include file="/common/style.jsp" %>
    <link rel="stylesheet" type="text/css" href="${static_url}/ui/app/assets/css/uc.css">

    <%@include file="/common/javascript.jsp" %>
</head>
<body class="wide">
<!-- 头部 -->
<%@include file="/common/myHeader.jsp" %>
<!-- /头部 -->

<!-- 主体 -->
<div style="border-top: solid 1px #dcdcdc;" class="mb10"></div>
<div class="g">
    <!--面包屑 -->
   <%-- <div class="breadcrumb-area"><a href="/" title="首页">首页</a>&nbsp;&nbsp;\&nbsp;&nbsp;<em
            id="personCenter"><span>我的商城</span></em><em id="pathPoint"></em><span id="pathTitle"></span></div>--%>
</div>
<div class="h20"></div>
<div class="g">
    <div class="fr u-4-5"><!-- 20141212-栏目-start -->
        <div class="section-header">
            <div class="fl">
                <h2><span>店小二<a href="${ctx}/my/seller/addXiaoer.htm">[新建]</a></span></h2>
            </div>
        </div>
        <div class="h20"></div>
        <div class="myRes-record">
            <div class="list-group-title" id="list-group-title">
                <table border="0" cellpadding="0" cellspacing="0">
                    <thead>
                    <tr>
                        <th width="120px">帐号</th>
                        <th width="120px">姓名</th>
                        <th width="120px">电话</th>
                        <th width="120px">创建时间</th>
                        <th width="120px">操作</th>
                    </tr>
                    </thead>

                </table>
            </div>
            <div class="list-group" id="list-group">
                <div class="list-group-item">
                    <div class="o-pro">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tbody>
                            <c:forEach items="${pager.records}" var="item">
                            <tr>
                                <td width="120px">
                                    <c:if test="${myfn:isNotBlank(item.photo)}">
                                        <img src="${fileServerUrl}/${item.photo}" width="100px" height="133px"/>
                                    </c:if> ${item.account}
                                </td>
                                <td width="120px">
                                        ${item.aliasName}
                                </td>
                                <td width="120px">
                                        ${item.tel}<br>${item.phone}
                                </td>
                                <td width="120px">
                                        ${myfn:formatTimestamp(item.createTime)}
                                </td>
                                <td width="120px">

                                        <a href="${ctx}/my/seller/editXiaoer.htm?id=${item.id}" ><span>编辑</span></a>

                                        <a href="${ctx}/my/seller/deleteXiaoer.htm?id=${item.id}" ><span>删除</span></a>


                                </td>
                            </tr>
                            </c:forEach>
                            </tbody>
                        </table>
                    </div>
                </div>

            </div>
            <div class="list-group-page">
                <div class="multi-page">
                    <c:if test="${pager.totalRecord>0}">
                        <jsp:include page="/common/ui/pagerUI.jsp">
                            <jsp:param name="pageNo" value="${pager.pageNo}"/>
                            <jsp:param name="pageCount" value="${pager.pageCount}"/>
                            <jsp:param name="total" value="${pager.totalRecord}"/>
                            <jsp:param name="callback" value="callback"/>
                        </jsp:include>
                    </c:if>

                    <c:if test="${pager.totalRecord<=0}">
                        暂无数据！
                    </c:if>
                    <script>
                        function callback(pageNo){
                            alert(pageNo);
                        }
                    </script>
                </div>
            </div>
        </div>
    </div>
    <div class="fl u-1-5">
        <!--左边菜单 -->
        <%@include file="left.jsp" %>
    </div>
    <div class="hr-45"></div>


</div>
<!-- /主体 -->


<!-- 底部 -->
<%@include file="/common/footer.jsp" %>
<!-- /底部 -->

</body>
</html>
